package cn.bonoon.controllers.fmm;

import cn.bonoon.kernel.annotations.Transform;
import cn.bonoon.kernel.support.models.ObjectEditor;
import cn.bonoon.kernel.web.annotations.components.AsSelector;
import cn.bonoon.kernel.web.annotations.components.AsTextArea;
import cn.bonoon.kernel.web.annotations.form.FormEditor;
import cn.bonoon.kernel.web.annotations.form.PropertyEditor;

@Transform
@FormEditor//(2)
public class GroupEditor extends ObjectEditor implements GroupDefine{

	private static final long serialVersionUID = -8365855323518478604L;

	@PropertyEditor(value = 0, required = true)
	private String name;

	@PropertyEditor(2)
	@AsSelector
	private int status;

	@PropertyEditor(50/*value = 6, colspan = 1*/)
	@AsTextArea
	private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
